﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="IQKSCertificateDataSet" targetNamespace="http://tempuri.org/IQKSCertificateDataSet.xsd" xmlns:mstns="http://tempuri.org/IQKSCertificateDataSet.xsd" xmlns="http://tempuri.org/IQKSCertificateDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ConnLeadCreation" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnLeadCreation (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ConnLeadCreation.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="USP_GetAwardedCandidateTableAdapter" GeneratorDataComponentClassName="USP_GetAwardedCandidateTableAdapter" Name="USP_GetAwardedCandidate" UserDataComponentName="USP_GetAwardedCandidateTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnLeadCreation (Web.config)" DbObjectName="IQKSUAT.dbo.USP_GetAwardedCandidate" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.USP_GetAwardedCandidate</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CandidateID" Precision="19" ProviderType="BigInt" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CandidateName" DataSetColumn="CandidateName" />
              <Mapping SourceColumn="RegistrationNo" DataSetColumn="RegistrationNo" />
              <Mapping SourceColumn="BriefName" DataSetColumn="BriefName" />
              <Mapping SourceColumn="AwardDate" DataSetColumn="AwardDate" />
              <Mapping SourceColumn="TypeBriefAccrediation" DataSetColumn="TypeBriefAccrediation" />
              <Mapping SourceColumn="CandidateID" DataSetColumn="CandidateID" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="IQKSCertificateDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="IQKSCertificateDataSet" msprop:Generator_UserDSName="IQKSCertificateDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="USP_GetAwardedCandidate" msprop:Generator_TableClassName="USP_GetAwardedCandidateDataTable" msprop:Generator_TableVarName="tableUSP_GetAwardedCandidate" msprop:Generator_TablePropName="USP_GetAwardedCandidate" msprop:Generator_RowDeletingName="USP_GetAwardedCandidateRowDeleting" msprop:Generator_RowChangingName="USP_GetAwardedCandidateRowChanging" msprop:Generator_RowEvHandlerName="USP_GetAwardedCandidateRowChangeEventHandler" msprop:Generator_RowDeletedName="USP_GetAwardedCandidateRowDeleted" msprop:Generator_UserTableName="USP_GetAwardedCandidate" msprop:Generator_RowChangedName="USP_GetAwardedCandidateRowChanged" msprop:Generator_RowEvArgName="USP_GetAwardedCandidateRowChangeEvent" msprop:Generator_RowClassName="USP_GetAwardedCandidateRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CandidateName" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCandidateName" msprop:Generator_ColumnPropNameInRow="CandidateName" msprop:Generator_ColumnPropNameInTable="CandidateNameColumn" msprop:Generator_UserColumnName="CandidateName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="152" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RegistrationNo" msprop:Generator_ColumnVarNameInTable="columnRegistrationNo" msprop:Generator_ColumnPropNameInRow="RegistrationNo" msprop:Generator_ColumnPropNameInTable="RegistrationNoColumn" msprop:Generator_UserColumnName="RegistrationNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BriefName" msprop:Generator_ColumnVarNameInTable="columnBriefName" msprop:Generator_ColumnPropNameInRow="BriefName" msprop:Generator_ColumnPropNameInTable="BriefNameColumn" msprop:Generator_UserColumnName="BriefName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AwardDate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnAwardDate" msprop:Generator_ColumnPropNameInRow="AwardDate" msprop:Generator_ColumnPropNameInTable="AwardDateColumn" msprop:Generator_UserColumnName="AwardDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TypeBriefAccrediation" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTypeBriefAccrediation" msprop:Generator_ColumnPropNameInRow="TypeBriefAccrediation" msprop:Generator_ColumnPropNameInTable="TypeBriefAccrediationColumn" msprop:Generator_UserColumnName="TypeBriefAccrediation" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CandidateID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnCandidateID" msprop:Generator_ColumnPropNameInRow="CandidateID" msprop:Generator_ColumnPropNameInTable="CandidateIDColumn" msprop:Generator_UserColumnName="CandidateID" type="xs:long" />
              <xs:element name="AccrediationType" msprop:Generator_ColumnVarNameInTable="columnAccrediationType" msprop:Generator_ColumnPropNameInRow="AccrediationType" msprop:Generator_ColumnPropNameInTable="AccrediationTypeColumn" msprop:Generator_UserColumnName="AccrediationType" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:USP_GetAwardedCandidate" />
      <xs:field xpath="mstns:CandidateID" />
    </xs:unique>
  </xs:element>
</xs:schema>